﻿
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using Shine.ManageUser;
using DevComponents.DotNetBar;


namespace Shine.Framework
{
    public interface IBarManager
    {
        event OnHideDockWindowEventHandler OnHideWindow;

        event OnItemClickEventHandler OnItemClickEvent;

        event OnAddBarEventHandler OnAddBarEvent;

        void CreateBar(Control container, List<IPrivilegeGroup> groups);

        ICommand FindCommand(string sCommandName);

        void SetCustomPopupContextMenu(Control pControl);

        void SetDefaultPopupContextMenu(Control pControl);

        void UpdateContent(ITool pCurrentTool);

        void UpdateContent(string sToolName);

        void GetContextMenuStrip(IApplication m_Application,int X,int Y);

        ICommandPoolEx CommandPoolEx { get; set; }
    }
}
//void DisplayStatusInfo(enumMessageType messageType, string sInfo);

